# is
n1 = 1234567890
n2 = 1234567890
print(f"{n1 is n2 = }, {id(n1) = }, {id(n2) = }")
l1 = []
l2 = []
print(f"{l1 is l2 = }, {id(l1) = }, {id(l2) = }")

# isinstance
l = []
print(f"{isinstance(l,list) = }")
print(f"{isinstance(l,(list,tuple)) = }")
print(f"{type(l) in (list,tuple) = }")
print(f"{isinstance(l,(set,tuple)) = }")

# in
l = [1, 2, 3]
print(f"{l = }, {1 in l = }, {6 in l = }")
s = "hello"
print(f'{s = }, {"he" in s = }, {"hello " in s = }, {"" in s = }')
ss = {1, 2, 3}
print(f"{ss = }, {1 in ss = }, {6 in ss = }")
d = {"a": 1}
print(f'{d = }, {1 in d = }, {"a" in d = }')
